import LoadableComponent from '../utils/LoadableComponent'

export default [{
    path:'/couponManage/coupon',
    // components: LoadableComponent(() => import('../views/CouponManage/Coupon/index.js'))//参数一定要是函数，否则不会懒加载，只会代码拆分
    components: LoadableComponent(() => import('../containers/CouponManage/CouponContainer'))
},{
    path:'/couponManage/couponAnalysis',
    components: LoadableComponent(() => import('../containers/CouponManage/CouponAnalysisContainers'))
},{
    path:'/couponManage/createCoupon',
    // components: LoadableComponent(() => import('../views/CouponManage/CreateCoupon/index.js'))
    components: LoadableComponent(() => import('../containers/CouponManage/CreateCouponContainer'))
},{
    path:'/notFound',
    components: LoadableComponent(() => import('../views/NotFound/index.js'))
},]